import requests
# 发送百度的get请求
class Test:
    def test_baidu(self):
        # verify=False跳过证书验证
        resp = requests.get(url='https://www.baidu.com/',verify=False)
        print(resp.text)